Enum Effects.BlendID

Constants for blend mode IDs.

Tables

Effects.BlendID Table of Effects.BlendID constants.


Tables

Effects.BlendID

Table of Effects.BlendID constants.
All blending modes except OPAQUE, ADDITIVE and ALPHA_BLEND will use depth sorting for applicable polygons. This may reduce engine performance, so it is preferable to minimize usage of other blending modes.

  • OPAQUE - No transparency.
  • ALPHA_TEST - So called "magenta transparency", every pixel can be either fully transparent or opaque.
  • ADDITIVE - Standard additive blending.
  • SUBTRACTIVE - Subtractive blending, with brighter texture areas making everything darker behind them.
  • EXCLUDE - Produces "inversion" effect.
  • SCREEN - Similar to ADDITIVE, but without excessive overbright.
  • LIGHTEN - Similar to SCREEN, but with a little different blending formula.
  • ALPHA_BLEND - True alpha blending. Should be used for textures with gradually changing alpha values.
generated by TEN-LDoc (a fork of LDoc 1.4.6)